package com.situ.web.service.impl;

import java.util.List;

import com.situ.web.dao.ISelectAreaDao;
import com.situ.web.dao.impl.SelectAreaDaoImpl;
import com.situ.web.entity.Area;
import com.situ.web.entity.City;
import com.situ.web.entity.Province;
import com.situ.web.service.ISelectAreaService;

public class SelectAreaServiceImpl implements ISelectAreaService {
	
	private ISelectAreaDao selectAreaDao = new SelectAreaDaoImpl();
	
	@Override
	public List<Province> selectProvince() {
		return selectAreaDao.selectProvince();
	}

	@Override
	public List<City> selectCity(int province_id) {
		return selectAreaDao.selectCity(province_id);
	}

	@Override
	public List<Area> selectArea(int cityId) {
		return selectAreaDao.selectArea(cityId);
	}

}
